<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
  <style>
    .c1{
      height: 30px;
      border: 1px solid red;
      border-radius: 5px;
    }
    .el-header{background-color: red}
    .el-main{background-color: red;
      height: 300px;}
    .el-footer{background-color: red}
    .el-aside{background-color: red}
  </style>
</head>
<body>
<div id="app">
  <el-container>
    <el-header><div>达内后台管理系统</div></el-header>



    <el-container>
      <el-aside width="200px">员工管理</el-aside>
      <el-dropdown @command="handleCommand">
  <span class="el-dropdown-link">
    下拉菜单<i class="el-icon-arrow-down el-icon--right"></i>
  </span>
        <el-dropdown-menu slot="dropdown">
          <el-dropdown-item v-for="name in arr" :command="name">{{name}}</el-dropdown-item>
        </el-dropdown-menu>
      </el-dropdown>
      <el-menu :default-active="activeIndex" mode="horizontal">

      <el-main>Main</el-main>
    </el-container>
  </el-container>




</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
 let v = new Vue({
    el: '#app',
    data: function() {
      return {
        activeIndex: '1'
      }
    },
   methods:{

   }
  })
</script>
</html>